﻿using System;
using System.Configuration;

namespace FBGraph.Web.Configuration
{
    /// <summary>Configures web-specific settings for</summary>
    public class FBGraphWebSectionGroup : ConfigurationSectionGroup
    {
        /// <summary>Gets the <c>authentication</c> section.</summary>
        public FBGraphAuthenticationSection Authentication
        {
            get { return (FBGraphAuthenticationSection)this.Sections["authentication"]; }
        }

        /// <summary>Gets the <c>authorization</c> section.</summary>
        public FBGraphAuthorizationSection Authorization
        {
            get { return (FBGraphAuthorizationSection)this.Sections["authorization"]; }
        }
    }
}